package com.zhuiyun.project.api.sysmenu.mapper;


import com.zhuiyun.project.api.sysmenu.entity.sysUserPower;
import com.zhuiyun.project.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface sysUserPowerMappper  extends BaseMapper<sysUserPower> {


    @Delete("delete from sys_user_power where menu_id = #{menuId} and user_id = #{userId}")
    int deletebyment(Integer menuId, Integer userId);
    @Delete("delete from sys_user_power where menu_id = #{id}")
    int deletesy(Integer id);
}
